export const setLocalStorage = (name: string, val:any) => {
  window.localStorage.setItem(name, JSON.stringify(val))
}

export const getLocalStorage = (name: string) => {
  return window.localStorage.getItem(name)
}